extends ../layout
block content
    .container
        .row
            form.form-horizontal(method="post", action="/admin/movie/new")
                input(type='hidden', name="movie[_id]", value="#{movie._id}")
                .form-group
                    label.col-sm-3.control-label(for="inputTitle") 电影名字
                    .col-sm-7
                        input#inputTitle.form-horizontal(type="text", name="movie[title]", value="#{movie.title}")
                .form-group
                    label.col-sm-3.control-label(for="inputDoctor") 导演
                    .col-sm-7
                        input#inputDoctor.form-horizontal(type="text", name="movie[doctor]", value="#{movie.doctor}")
                .form-group
                    label.col-sm-3.control-label(for="inputCountry") 国家
                    .col-sm-7
                        input#inputCountry.form-horizontal(type="text", name="movie[country]", value="#{movie.country}")
                .form-group
                    label.col-sm-3.control-label(for="inputLanguage") 语言
                    .col-sm-7
                        input#inputLanguage.form-horizontal(type="text", name="movie[language]", value="#{movie.language}")
                .form-group
                    label.col-sm-3.control-label(for="inputPoster") 海报地址
                    .col-sm-7
                        input#inputPoster.form-horizontal(type="text", name="movie[poster]", value="#{movie.poster}")
                .form-group
                    label.col-sm-3.control-label(for="inputFlash") 视频地址
                    .col-sm-7
                        input#inputFlash.form-horizontal(type="text", name="movie[flash]", value="#{movie.flash}")
                .form-group
                    label.col-sm-3.control-label(for="inputYear") 上映年份
                    .col-sm-7
                        input#inputYear.form-horizontal(type="text", name="movie[year]", value="#{movie.year}")
                .form-group
                    label.col-sm-3.control-label(for="inputSummary") 简介
                    .col-sm-7
                        input#inputSummary.form-horizontal(type="text", name="movie[summary]", value="#{movie.summary}")
                .form-group
                    .col-sm-offset-3.col-sm-7
                        button.btn.btn-default(type='submit') 录入
